package com.second.app.thread.synchroized.E;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class ThreadBB extends Thread{

    private ServiceMethod serviceMethod;

    public ThreadBB(ServiceMethod serviceMethod){
        this.serviceMethod = serviceMethod;
    }

    @Override
    public void run() {
        serviceMethod.printB();
    }
}
